#@adminLayout()
#define main()
#set(map={R:1,D:1,O:1},aTh = ["URL","Action","备注说明"],aTd = ["actionKey","controller","remark"])
<div class="card">
    #@cardIndex("权限管理","sys/permission",map,aTh,aTd)
</div>
#end
#define cardQuery()
<div class="col-sm-4">
    <div class="form-group">
        <lable><i class="zmdi zmdi-label-alt zmdi-hc-fw"></i>备注说明</lable>
        <input type="text" name="remark" value="#(model.remark??)"
               class="form-control" placeholder="请输入名称">
        <i class="form-group__bar"></i>
    </div>
</div>
#end
#define cardBtn()
<button class="btn btn-sm btn-secondary cardBtn" data-url="/admin/sys/permission/sync"><i
        class="zmdi zmdi-swap zmdi-hc-fw"></i>权限同步
</button>
#end